package com.cy.interfacetest.policyinterface.impl;

import com.cy.interfacetest.policyinterface.IPolicyManager;

import java.util.List;

import ga.mdm.PolicyManager;


public class IPolicyManagerImpl implements IPolicyManager {
    private PolicyManager policyManager;

    public IPolicyManagerImpl(PolicyManager policyManager) {
        this.policyManager = policyManager;
    }

    @Override
    public boolean getSystemIntegrity() {
        return policyManager.getSystemIntegrity();
    }

    @Override
    public String getTpmReport() {
        return policyManager.getTpmReport();
    }

    @Override
    public boolean setWlanPolicies(int mode) {
        return policyManager.setWlanPolicies(mode);
    }

    @Override
    public int getWlanPolicies() {
        return policyManager.getWlanPolicies();
    }

    @Override
    public boolean setDataConnectivityPolicies(int mode) {
        return policyManager.setDataConnectivityPolicies(mode);
    }

    @Override
    public int getDataConnectivityPolicies() {
        return policyManager.getDataConnectivityPolicies();
    }

    @Override
    public boolean setBluetoothPolicies(int mode, String[] bluetoothInfoList) {
        return policyManager.setBluetoothPolicies(mode, bluetoothInfoList);
    }

    @Override
    public String[] getBluetoothPolicies() {
        return policyManager.getBluetoothPolicies();
    }

    @Override
    public boolean setNfcPolicies(int mode) {
        return policyManager.setNfcPolicies(mode);
    }

    @Override
    public int getNfcPolicies() {
        return policyManager.getNfcPolicies();
    }

    @Override
    public boolean setIrPolicies(int mode) {
        return policyManager.setIrPolicies(mode);
    }

    @Override
    public int getIrPolicies() {
        return policyManager.getIrPolicies();
    }

    @Override
    public boolean setBiometricRecognitionPolicies(int mode) {
        return policyManager.setBiometricRecognitionPolicies(mode);
    }

    @Override
    public int getBiometricRecognitionPolicies() {
        return policyManager.getBiometricRecognitionPolicies();
    }

    @Override
    public boolean setGpsPolicies(int mode) {
        return policyManager.setGpsPolicies(mode);
    }

    @Override
    public int getGpsPolicies() {
        return policyManager.getGpsPolicies();
    }

    @Override
    public boolean setUsbDataPolicies(int mode) {
        return policyManager.setUsbDataPolicies(mode);
    }

    @Override
    public int getUsbDataPolicies() {
        return policyManager.getUsbDataPolicies();
    }

    @Override
    public boolean setExternalStoragePolicies(int mode) {
        return policyManager.setExternalStoragePolicies(mode);
    }

    @Override
    public int getExternalStoragePolicies() {
        return policyManager.getExternalStoragePolicies();
    }

    @Override
    public boolean setMicrophonePolicies(int mode) {
        return policyManager.setMicrophonePolicies(mode);
    }

    @Override
    public int getMicrophonePolicies() {
        return policyManager.getMicrophonePolicies();
    }

    @Override
    public boolean setSpeakerPolicies(int mode) {
        return policyManager.setSpeakerPolicies(mode);
    }

    @Override
    public int getSpeakerPolicies() {
        return policyManager.getSpeakerPolicies();
    }

    @Override
    public boolean setCameraPolicies(int mode) {
        return policyManager.setCameraPolicies(mode);
    }

    @Override
    public int getCameraPolicies() {
        return policyManager.getCameraPolicies();
    }

    @Override
    public boolean setFlashPolicies(int mode) {
        return policyManager.setFlashPolicies(mode);
    }

    @Override
    public int getFlashPolicies() {
        return policyManager.getFlashPolicies();
    }

    @Override
    public boolean setPeripheralPolicies(int mode) {
        return policyManager.setPeripheralPolicies(mode);
    }

    @Override
    public int getPeripheralPolicies() {
        return policyManager.getPeripheralPolicies();
    }

    @Override
    public boolean setVoicePolicies(int mode) {
        return policyManager.setVoicePolicies(mode);
    }

    @Override
    public int getVoicePolicies() {
        return policyManager.getVoicePolicies();
    }

    @Override
    public boolean setSmsPolicies(int mode, String regExp) {
        return policyManager.setSmsPolicies(mode, regExp);
    }

    @Override
    public int getSmsPolicies() {
        return policyManager.getSmsPolicies();
    }

    @Override
    public boolean setCaptureScreenPolicies(int mode) {
        return policyManager.setCaptureScreenPolicies(mode);
    }

    @Override
    public int getCaptureScreenPolicies() {
        return policyManager.getCaptureScreenPolicies();
    }

    @Override
    public boolean setWlanApPolicies(int mode, String[] macInfoList) {
        return policyManager.setWlanApPolicies(mode, macInfoList);
    }

    @Override
    public String[] getWlanApPolicies() {
        return policyManager.getWlanApPolicies();
    }

    @Override
    public boolean setUserApnMgrPolicies(int mode) {
        return policyManager.setUserApnMgrPolicies(mode);
    }

    @Override
    public int getUserApnMgrPolicies() {
        return policyManager.getUserApnMgrPolicies();
    }

    @Override
    public boolean setUserPasswordPolicies(int mode) {
        return policyManager.setUserPasswordPolicies(mode);
    }

    @Override
    public int getUserPasswordPolicies() {
        return policyManager.getUserPasswordPolicies();
    }

    @Override
    public boolean setUserTimeMgrPolicies(int mode) {
        return policyManager.setUserTimeMgrPolicies(mode);
    }

    @Override
    public int getUserTimeMgrPolicies() {
        return policyManager.getUserTimeMgrPolicies();
    }

    @Override
    public boolean setFactoryResetPolicies(int mode) {
        return policyManager.setFactoryResetPolicies(mode);
    }

    @Override
    public int getFactoryResetPolicies() {
        return policyManager.getFactoryResetPolicies();
    }

    @Override
    public boolean setDevelopmentModePolicies(int mode) {
        return policyManager.setDevelopmentModePolicies(mode);
    }

    @Override
    public int getDevelopmentModePolicies() {
        return policyManager.getDevelopmentModePolicies();
    }

    @Override
    public boolean setSystemUpdatePolicies(int mode) {
        return policyManager.setSystemUpdatePolicies(mode);
    }

    @Override
    public int getSystemUpdatePolicies() {
        return policyManager.getSystemUpdatePolicies();
    }

    @Override
    public boolean setInstallUninstallPolicies(int mode, String[] appList) {
        return policyManager.setInstallUninstallPolicies(mode, appList);
    }

    @Override
    public String[] getInstallUninstallPolicies() {
        return policyManager.getInstallUninstallPolicies();
    }

    @Override
    public boolean setSilentInstallUninstallPolicies(int mode, String[] appList) {
        return policyManager.setSilentInstallUninstallPolicies(mode, appList);
    }

    @Override
    public String[] getSilentInstallUninstallPolicies() {
        return policyManager.getSilentInstallUninstallPolicies();
    }

    @Override
    public boolean setAdbInstallUninstallPolicies(int mode) {
        return policyManager.setAdbInstallUninstallPolicies(mode);
    }

    @Override
    public int getAdbInstallUninstallPolicies() {
        return policyManager.getAdbInstallUninstallPolicies();
    }


    @Override
    public boolean wipeDeviceData() {
        return policyManager.wipeDeviceData();
    }

    @Override
    public boolean rebootDevice() {
        return policyManager.rebootDevice();
    }

    @Override
    public boolean shutdownDevice() {
        return policyManager.shutdownDevice();
    }

    @Override
    public boolean setWlanConfiguration(String wlanConfig) {
        return policyManager.setWlanConfiguration(wlanConfig);
    }

    @Override
    public int createApn(String apnInfo) {
        return policyManager.createApn(apnInfo);
    }

    @Override
    public boolean deleteApn(int apnId) {
        return policyManager.deleteApn(apnId);
    }

    @Override
    public boolean setCurrentApn(int apnId) {
        return policyManager.setCurrentApn(apnId);
    }

    @Override
    public List<Integer> getApnList() {
        return policyManager.getApnList();
    }

    @Override
    public String getApnInfo(int apnId) {
        return policyManager.getApnInfo(apnId);
    }


    @Override
    public boolean setContainerPolicies(int mode) {
        return policyManager.setContainerPolicies(mode);
    }

    @Override
    public int getContainerPolicies() {
        return policyManager.getContainerPolicies();
    }

    @Override
    public int getContainerTotalNumber() {
        return policyManager.getContainerTotalNumber();
    }

    @Override
    public boolean setContainerNumber(int containerNumber) {
        return policyManager.setContainerNumber(containerNumber);
    }

    @Override
    public int getContainerNumber() {
        return policyManager.getContainerNumber();
    }

    @Override
    public boolean isActived() {
        return policyManager.isActived();
    }

    @Override
    public boolean setAppInstallationPolicies(int mode, String[] appPackageNames) {
        return policyManager.setAppInstallationPolicies(mode, appPackageNames);
    }

    @Override
    public boolean installPackage(String pathToAPK) {
        return policyManager.installPackage(pathToAPK);
    }

    @Override
    public boolean uninstallPackage(String appPackageName) {
        return policyManager.uninstallPackage(appPackageName);
    }

    @Override
    public boolean setAppUninstallationPolicies(int mode, String[] appPackageNames) {
        return policyManager.setAppUninstallationPolicies(mode, appPackageNames);
    }

    @Override
    public boolean setRunAppPolicies(int mode, String[] appPackageNameList) {
        return policyManager.setRunAppPolicies(mode, appPackageNameList);
    }

    @Override
    public String executeShellToSetIptables(String commandline) {
        return policyManager.executeShellToSetIptables(commandline);
    }
}
